<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
	<head>
		<title>test</title>
		<jsp:include page="/common/inc/meta.jsp"></jsp:include>
		<jsp:include page="/common/inc/easyui.jsp"></jsp:include>
		<script type="text/javascript">
		 	var wind;
			var panel;
			var combobox;
			
			$(function(){
				combobox=$('#combobox').combobox({
					required:true
				});
				$('#sp').appendTo(combobox.combobox('panel'));
				$('#sp input').click(function(){
					var key=$(this).val();
					var value=$(this).next('span').text();
					combobox.combobox('setValues',key).combobox('setText',value).combobox('hidePanel');
				});
				
				panel=$('#panel').panel({
					title:'panel',
					fit:true,
					collapsible:true,
					minimizable:true,
					maximizable:true,
					closable:true
				});
				wind=$('#wind').window({
					title:'title',
					minimizable:false,
					maximizable:false,
					width:500,
					height:500,
					collapsible:false,
					closable:false
				});
			});
		
		</script>
	</head>
	<body>
		<div id="wind">
			<div id="panel">
				<input id="combobox">
			</div>
		</div>
		<span id="sp">
			<input type="radio" name="radio" value="001"><span>java</span></br>
			<input type="radio" name="radio" value="002"><span>c++</span></br>
			<input type="radio" name="radio" value="003"><span>.NET</span></br>
		</span>
	</body>
</html>